<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<?php
if (isset($_COOKIE["cname"]))
            $varname=$_COOKIE["cname"];
        else {
            $varname="";
}
if (isset($_COOKIE["csj"]))
            $vartime=$_COOKIE["csj"];
        else {
            $vartime="";
}
?>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
        <link href="css/css1.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
        <div id="login">
            <form action="dologin.php" method="post">
            <ul>
                <li>用户名：<input class="input_txt" type="text" name="username"  value="<?php echo $varname;?>"/></li>
                <li>密　码：<input class="input_txt" type="text" name="password" value=""/></li>
            </ul>
                <input type="checkbox" name="re">记住用户名
           <br/>
           <li>你上次登录的时间为<?php echo $vartime ?></li><br/>
           <input class="submit" type="submit" value="登　录" />
        </form>
        </div>
    </body>
</html>
